package com.eat.enums;

import com.eat.service.EatService;
import lombok.Getter;
import lombok.ToString;


@Getter
@ToString
public enum EatEnum implements EatService {
    DOG() {
        @Override
        public void eat() {
            System.out.println("狗吃骨头");
        }
    },
    CAT() {
        @Override
        public void eat() {
            System.out.println("猫吃鱼");
        }
    };

}
